// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_PURCHASE_ORDER_ITEM_DETAIL
// * CreateDate    : 2011/10/25 11:27:58
// * Creater       : CodeSmith
// * LastChangeDate: 2011/10/25 11:27:58
// * LastChanger   : 2011/10/25 11:27:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurPurchaseOrderItemDetailTable : TableInfo
    {
		public const string C_TableName = "PUR_PURCHASE_ORDER_ITEM_DETAIL";
		
		public const string C_PURCHASE_ITEM_ID = "PURCHASE_ITEM_ID";
		public const string C_APPLICATION_ITEM_ID = "APPLICATION_ITEM_ID";
		
		public PurPurchaseOrderItemDetailTable()
        {
            _tableName = "PUR_PURCHASE_ORDER_ITEM_DETAIL";
        }
		
		protected static PurPurchaseOrderItemDetailTable _current;
        public static PurPurchaseOrderItemDetailTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurPurchaseOrderItemDetailTable();

            _current.Add(C_PURCHASE_ITEM_ID, new ColumnInfo(C_PURCHASE_ITEM_ID,"PurchaseItemId", true, typeof(string)));
            _current.Add(C_APPLICATION_ITEM_ID, new ColumnInfo(C_APPLICATION_ITEM_ID,"ApplicationItemId", true, typeof(string)));
			
		}
		
		public ColumnInfo PURCHASE_ITEM_ID
        {
            get { return this[C_PURCHASE_ITEM_ID]; }
        }
		
		public ColumnInfo APPLICATION_ITEM_ID
        {
            get { return this[C_APPLICATION_ITEM_ID]; }
        }
		
		
		
	}
}

